<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CONTROLLER_VIEW__/css/list.css"/>
		<script src="__STATIC__/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var APP = "{|U:'Index/List/ajaxLike'}"
		</script>
		<script src="__CONTROLLER_VIEW__/js/list.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!--头部固定区-->
		<include file="__VIEW__/Common/header"/>
		<!--产品分类-逛商品begin-->
		<div id="category">
			<div class="c_title_all"><span class="s_all"></span><h2>逛商品</h2></div>
			<div class="c_content">
				<!--分类begin-->
				<foreach from="$dataCate" key="$k" value="$v">
				<div class="c_box box{$k} allCate">
					<dl>
						<dt>
							<a href="{|U:'Index/List/index',array('cid'=>$v['cid'])}">{$v.cname}</a>
							<br />
							<i class="iconfont">&#xf00a9;</i>
						</dt>
						<dd>
							<list from="$v['son']" name="$n" row="5" >
							<a href="{|U:'Index/List/index',array('cid'=>$n['cid'])}" <if value="$n['cid']==$hd.get.cid">class="selected"</if> >{$n.cname}</a>
							</list>
						</dd>
					</dl>
				</div>
				</foreach>
				<!--艺术品begin-->
				<div class="c_box box7 art">
					<dl>
						<dt><a href="">艺术品<br/>展厅</a></dt>
						<dd>
							<a href="">即将开业</a>
						</dd>
					</dl>
				</div>
				<!--艺术品end-->
				<!--分类end-->
			</div>
		</div>
		<!--产品分类-逛商品end-->
		<!--页面主体区域begin-->
		<!--产品列表begin-->
		<div id="list">
			<div class="l_title">
				<h2>逛商品</h2>
				<?php 
					$screen = Q('get.param',0,'intval')
				 ?>
				<a href="{|U:'Index/List/allCate',array('order'=>0)}"  <if value="$_GET['order']==0">class="choose"</if> >推荐</a>
				<a href="{|U:'Index/List/allCate',array('order'=>1)}"  <if value="$_GET['order']==1">class="choose"</if> >最新</a>
				<a href="{|U:'Index/List/allCate',array('order'=>2)}"  <if value="$_GET['order']==2">class="choose"</if> >最热</a>
				<span class="t_dot"></span>
			</div>
			<?php 
				if(!isset($listData)) echo "<div class='error'><h3>亲~~~暂无此商品/(ㄒoㄒ)/~~</h3></div>"
			 ?>
			<foreach from="$listData" key="$K" value="$v">
			<div class="product">
				<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="p_img"><img src="__ROOT__/{$v.picture}"/></a>
				<div class="p_infor">
					<div class="p_price"><span class="sp">¥{$v.shopprice}</span><span class="dis_like"></span><span class="like" gid="{$v['gid']}"></span><div class="pp"><p class="count"><span class="c">{$v.like}</span><span class="add1">+1</span></p></div></div>
					<a href="" class="p_name">{$v.bname}</a>
					<a href="{|U:'Index/Product/index',array('cid'=>$v['category_cid'],'gid'=>$v['gid'])}" class="tag1">{$v.gvalue.0}</a><span class="dot"></span><a href="{|U:'Index/PUBLIC/index',array('gid'=>$v['gid'])}" class="tag2">{$v.gvalue.1}</a>
				</div>
			</div>
			</foreach>
		</div>
		<!--产品列表end-->
		<!--页面主体区域end-->
		
		<!--页面底部begin-->
		<div id="footer">
			<div class="foot_wrap">
				<div class="say">
					<p class="p1">“如果你的东西和大家都一样，那干嘛还设计它？”</p>
					<p class="p2">by  Philippe Starck</p>
				</div>
				<div class="foot_logo"></div>
				<p class='infor'>Copyright 2015 版权所有 浙ICP备12027496 <a href="">热门精选</a> <a href="">热门分类</a></p>
				<p class='link'>商务合作  友情链接： 想去网  蘑菇街 360安全网址 爱图购</p>
			</div>
		</div>
		<!--页面底部end-->
	</body>
</html>
